<?php

defined('MYLITS') ? '' : exit('No direct script access allowed');

/**
 * @version     1.0.0
 * @package     mylits engine
 * @license     GNU General Public License version 3
 * @author      Mylits Engine <engine@mylits.com> - http://engine.mylits.com
 */
class languagesController extends Mylits_Controller {

    function __construct() {
        parent::__construct();
        $this->setPublic(true);
    }

    public function view() {
        $result = '';
        if($this->task == 'view.languages'){
            $result = $this->executeProcess('view', 'languages');
        }else{
            $result = $this->executeProcess('view', 'languagesWidget');
        }
        return $result;
    }

}

?>
